package com.qqtech.qquan.ad.model;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class AdBase extends BaseDomain{
	/**社区id*/
	private Integer communityId;
	
	/**
	 * 内容图片
	 */
	private String contentImg;
	/**
	 * 标题图片
	 */
	private String titleImg;


	//columns START
    /** 图片路径,多图片以分号;隔开 */
	private java.lang.String img;
	/** 标题 */
	private java.lang.String title;
	
	/** 广告内容 */
	private java.lang.String content;

	/** 广告位置类型:1-起始页;2-圈子;3-社区;4-服务;5-商城 */
	private Integer type;

	/** 广告超链接地址 */
	private java.lang.String href;

	/** 备注 */
	private java.lang.String remark;


	/** 失效时间 */
	private java.sql.Timestamp expireAt;
    /** 是否有效:1-正常;2-失效 */
	private Integer status;
    /**appUI参数*/
	private String jsonData;
    /**appUI路径*/
	private String path;
	
	 /**排序*/
	private Integer oidx;
	//columns END
	public AdBase(){
	}
	public AdBase( java.lang.Integer id ){
		this.id = id;
	}
	
    public Integer getCommunityId() {
		return communityId;
	}
	public java.lang.String getContent() {
		return this.content;
	}
	public String getContentImg() {
		return contentImg;
	}
	public java.sql.Timestamp getExpireAt() {
		return this.expireAt;
	}
	public java.lang.String getHref() {
		return this.href;
	}
	public java.lang.String getImg() {
		return this.img;
	}
	public String getJsonData() {
		return jsonData;
	}
    public Integer getOidx() {
		return oidx;
	}
    public String getPath() {
		return path;
	}
    public java.lang.String getRemark() {
		return this.remark;
	}
	public Integer getStatus() {
		return this.status;
	}

	public java.lang.String getTitle() {
		return this.title;
	}

	public String getTitleImg() {
		return titleImg;
	}

	public Integer getType() {
		return this.type;
	}
	
	public void setCommunityId(Integer communityId) {
		this.communityId = communityId;
	}

	public void setContent(java.lang.String content) {
		this.content = content;
	}
	
	public void setContentImg(String contentImg) {
		this.contentImg = contentImg;
	}

	public void setExpireAt(java.sql.Timestamp expireAt) {
		this.expireAt = expireAt;
	}
	
	public void setHref(java.lang.String href) {
		this.href = href;
	}

	public void setImg(java.lang.String img) {
		this.img = img;
	}
	
	public void setJsonData(String jsonData) {
		this.jsonData = jsonData;
	}

	public void setOidx(Integer oidx) {
		this.oidx = oidx;
	}
	
	public void setPath(String path) {
		this.path = path;
	}

	public void setRemark(java.lang.String remark) {
		this.remark = remark;
	}
	
	public void setStatus(Integer status) {
		this.status = status;
	}

	public void setTitle(java.lang.String title) {
		this.title = title;
	}
	
	public void setTitleImg(String titleImg) {
		this.titleImg = titleImg;
	}

	public void setType(Integer type) {
		this.type = type;
	}
	

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}

